package com.tianci.appstore.ui;

import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.TextView;

public class SkinManager {


    public static void setBackground(View view, int resId) {
        com.coocaa.x.uipackage.SkinManager.getInstance().setBackgroundResource(view, resId);

    }

    public static Drawable getResDrawable(int resId) {
        return com.coocaa.x.uipackage.SkinManager.getInstance().getDrawable(null, resId);
    }

    public static void setTextColor(TextView text, int colorId) {
        com.coocaa.x.uipackage.SkinManager.getInstance().setTextColor(text, colorId);
    }

    public static int getColor(int colorId) {
        return com.coocaa.x.uipackage.SkinManager.getInstance().getColor(colorId);
    }

    public static Bitmap getResourceBitmap(int id) {
        return com.coocaa.x.uipackage.SkinManager.getInstance().getBitmap(null, id);
    }
}
